/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.resource.entity.ResourceCourse;
import com.lczyfz.istep.modules.resource.entity.ResourceCourseware;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 课程管理DAO接口
 * @author dh
 * @version 2017-01-16
 */
@MyBatisDao
public interface ResourceCourseDao extends CrudDao<ResourceCourse> {

     ResourceCourse findCourseByCourseName(ResourceCourse resourceCourse);

     //课程体系链接查看课程
     List<ResourceCourse> viewCourseList(ResourceCourse resourceCourse);

     //根据课程体系id查询课程列表
     List<ResourceCourse> findCourseListByCoursesystemId(ResourceCourse resourceCourse);

     //我的课程-课程列表展示
     List<ResourceCourse> stuCourseList(ResourceCourse resourceCourse);

     //我的学习任务-获取课程名称
     List<ResourceCourse> stuLearnCourse(@Param("distributeId")String distributeId, @Param("userId")String userId, @Param("DEL_FLAG_NORMAL")String DEL_FLAG_NORMAL);
}